[INFO] cloning repository https://github.com/guolianwei/ruststudy
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/guolianwei/ruststudy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguolianwei%2Fruststudy", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguolianwei%2Fruststudy'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c2a6cf999cb6dbd74f1a13c2da79b8b19ad9485a
[INFO] building guolianwei/ruststudy against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguolianwei%2Fruststudy" "/workspace/builds/worker-11/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/guolianwei/ruststudy on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/guolianwei/ruststudy
[INFO] finished tweaking git repo https://github.com/guolianwei/ruststudy
[INFO] tweaked toml for git repo https://github.com/guolianwei/ruststudy written to /workspace/builds/worker-11/source/Cargo.toml
[INFO] crate git repo https://github.com/guolianwei/ruststudy already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c17ff802fda330760bde154dcbb2d08109a72abacdb324cfe88a0f713de9828a
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "c17ff802fda330760bde154dcbb2d08109a72abacdb324cfe88a0f713de9828a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c17ff802fda330760bde154dcbb2d08109a72abacdb324cfe88a0f713de9828a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c17ff802fda330760bde154dcbb2d08109a72abacdb324cfe88a0f713de9828a", kill_on_drop: false }`
[INFO] [stdout] c17ff802fda330760bde154dcbb2d08109a72abacdb324cfe88a0f713de9828a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6317023ccbbfa39759aafe8ac5a0c7cf5b82524e3143f89a13413ad208445dd1
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "6317023ccbbfa39759aafe8ac5a0c7cf5b82524e3143f89a13413ad208445dd1", kill_on_drop: false }`
[INFO] [stderr]    Compiling time v0.1.40
[INFO] [stderr]    Compiling log v0.4.1
[INFO] [stderr]    Compiling rand v0.3.22
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling guessing_game v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/vect.rs:48:11
[INFO] [stdout]    |
[INFO] [stdout] 48 |         97...122 | 65...90 | 48...57 => {
[INFO] [stdout]    |           ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/vect.rs:48:22
[INFO] [stdout]    |
[INFO] [stdout] 48 |         97...122 | 65...90 | 48...57 => {
[INFO] [stdout]    |                      ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/vect.rs:48:32
[INFO] [stdout]    |
[INFO] [stdout] 48 |         97...122 | 65...90 | 48...57 => {
[INFO] [stdout]    |                                ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition.
[INFO] [stdout]   --> src/fun.rs:13:25
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn  is_larger(&self,&Self) ->bool;
[INFO] [stdout]    |                         ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(anonymous_parameters)]` on by default
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/closures.rs:29:22
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn factory() ->  Box<Fn(i32) -> i32> {
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(i32) -> i32`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/closures.rs:34:22
[INFO] [stdout]    |
[INFO] [stdout] 34 | fn factory1() -> Box<Fn(i32) -> i32> {
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(i32) -> i32`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read_to_string` found for struct `File` in the current scope
[INFO] [stdout]    --> src/main.rs:14:7
[INFO] [stdout]     |
[INFO] [stdout] 14  |     f.read_to_string(&mut s)?;
[INFO] [stdout]     |       ^^^^^^^^^^^^^^ method not found in `File`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]     |
[INFO] [stdout] 2   | use std::io::Read;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read_to_string` found for struct `File` in the current scope
[INFO] [stdout]    --> src/main.rs:20:30
[INFO] [stdout]     |
[INFO] [stdout] 20  |     File::open("hello.txt")?.read_to_string(&mut s)?;
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^ method not found in `File`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]     |
[INFO] [stdout] 2   | use std::io::Read;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `guessing_game`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "6317023ccbbfa39759aafe8ac5a0c7cf5b82524e3143f89a13413ad208445dd1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6317023ccbbfa39759aafe8ac5a0c7cf5b82524e3143f89a13413ad208445dd1", kill_on_drop: false }`
[INFO] [stdout] 6317023ccbbfa39759aafe8ac5a0c7cf5b82524e3143f89a13413ad208445dd1
